package com.health.db.mapper;

import com.health.db.model.SaleDrugContact;
import com.health.db.model.SaleDrugContactExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface SaleDrugContactMapper {
    long countByExample(SaleDrugContactExample example);

    int deleteByExample(SaleDrugContactExample example);

    int deleteByPrimaryKey(Long recId);

    int insert(SaleDrugContact record);

    int insertSelective(SaleDrugContact record);

    List<SaleDrugContact> selectByExample(SaleDrugContactExample example);

    SaleDrugContact selectByPrimaryKey(Long recId);

    int updateByExampleSelective(@Param("record") SaleDrugContact record, @Param("example") SaleDrugContactExample example);

    int updateByExample(@Param("record") SaleDrugContact record, @Param("example") SaleDrugContactExample example);

    int updateByPrimaryKeySelective(SaleDrugContact record);

    int updateByPrimaryKey(SaleDrugContact record);
}